﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DANGQUYNHTRANG.Programming.Part04.BT01
{
    class MODEL
    {
        public double Cong(NUMBER number)
        {
            return number.dA + number.dB;
        }

        public double Tru(NUMBER number)
        {
            return number.dA - number.dB;
        }

        public double Nhan(NUMBER number)
        {
            return number.dA * number.dB;
        }

        public double Chia(NUMBER number)
        {
            return number.dA / number.dB;
        }
    }
}
